home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / DECMDIFR.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  64 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1992, 1997 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.3  $
  6. //
  7. // Definition of TDecoratedMDIFrame class
  8. //----------------------------------------------------------------------------
  9. #if !defined(OWL_DECMDIFR_H)
  10. #define OWL_DECMDIFR_H
  11.  
  12. #if !defined(OWL_MDI_H)
  13. # include <owl/mdi.h>
  14. #endif
  15. #if !defined(OWL_DECFRAME_H)
  16. # include <owl/decframe.h>
  17. #endif
  18.  
  19. #if defined(BI_NAMESPACE)
  20. namespace OWL {
  21. #endif
  22.  
  23. // Generic definitions/compiler options (eg. alignment) preceeding the 
  24. // definition of classes
  25. #include <services/preclass.h>
  26.  
  27. //
  28. // class TDecoratedMDIFrame
  29. // ~~~~~ ~~~~~~~~~~~~~~~~~~
  30. // MDI frame that supports decoration child windows
  31. //
  32. class _OWLCLASS TDecoratedMDIFrame : public TMDIFrame,
  33.                                      public TDecoratedFrame {
  34.   public:
  35.     TDecoratedMDIFrame(const char far* title,
  36.                        TResId          menuResId,
  37.                        TMDIClient&     clientWnd = *new TMDIClient,
  38.                        bool            trackMenuSelection = false,
  39.                        TModule*        module = 0);
  40.  
  41.     TResult  DefWindowProc(uint message, TParam1 wParam, TParam2 lParam);
  42.  
  43.   private:
  44.     // Hidden to prevent accidental copying or assignment
  45.     //
  46.     TDecoratedMDIFrame(const TDecoratedMDIFrame&);
  47.     TDecoratedMDIFrame& operator =(const TDecoratedMDIFrame&);
  48.  
  49.   DECLARE_RESPONSE_TABLE(TDecoratedMDIFrame);
  50.   DECLARE_STREAMABLE(_OWLCLASS, TDecoratedMDIFrame, 1);
  51. };
  52.  
  53. // Generic definitions/compiler options (eg. alignment) following the 
  54. // definition of classes
  55. #include <services/posclass.h>
  56.  
  57. typedef TDecoratedMDIFrame TDecoratedMdiFrame;
  58.  
  59. #if defined(BI_NAMESPACE)
  60. } // namespace OWL
  61. #endif
  62.  
  63. #endif  // OWL_DECMDIFR_H
  64.